package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.dto.WaterMarkDTO;
import com.xbongbong.paas.pojo.vo.WaterMarkVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.menu.pojo.vo.PaasAppMenuVO;

/**
 * @Description: 水印service
 * @Author: 肖云涛
 * @Date: 2022/8/28 21:55
 */

public interface WaterMarkService {

    /**
     * 查找水印信息
     * @param corpid
     * @return
     * @throws XbbException
     */
    WaterMarkVO getWaterMark(String corpid) throws XbbException;

    /**
     *
     * @param waterMarkDTO
     * @return
     * @throws XbbException
     */
    WaterMarkVO updataWaterMarkState(WaterMarkDTO waterMarkDTO) throws XbbException;

    /**
     * 获取前端水印菜单
     * @return
     * @throws XbbException
     */
    PaasAppMenuVO getWaterMarkMenu() throws XbbException;
}
